#pragma once
#include <iostream>

using namespace std;
typedef int STDateType;
class Stack
{
public:
	Stack(int size = 4);
	~Stack();
	void Push(int index = 1);
	void Pop();
	int& Top();
	bool Empty();
	int& Size();
private:
	STDateType* _arr;
	int _size;
	int _capacity;
};